
package com.zsrt.xml.studententity;

public class StudentEntity {

	private String idNum;
	
	private String name;
	
	private String sex;
	
	private Integer age;

	/**
	 * @return the idNum
	 */
	public String getIdNum() {
		return idNum;
	}

	/**
	 * @param idNum the idNum to set
	 */
	public void setIdNum(String idNum) {
		this.idNum = idNum;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

	/**
	 * @param idNum
	 * @param name
	 * @param sex
	 * @param age
	 */
	public StudentEntity(String idNum, String name, String sex, Integer age) {
		super();
		this.idNum = idNum;
		this.name = name;
		this.sex = sex;
		this.age = age;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "StudentEntity [idNum=" + idNum + ", name=" + name + ", sex=" + sex + ", age=" + age + "]";
	}
	
	
}
